package com.simdo.g768.Bean;

public class ArfcnPciBean {
    public int getArfcn() {
        return arfcn;
    }

    public void setArfcn(int arfcn) {
        this.arfcn = arfcn;
    }

    public int getPci() {
        return pci;
    }

    public void setPci(int pci) {
        this.pci = pci;
    }

    private int arfcn;

    private int pci;

    public int getRsrp() {
        return rsrp;
    }

    public void setRsrp(int rsrp) {
        this.rsrp = rsrp;
    }

    private int rsrp;

    public ArfcnPciBean(int arfcn, int pci) {
        this.arfcn = arfcn;
        this.pci = pci;
    }

    public ArfcnPciBean(String arfcn, String pci) {
        this.arfcn = arfcn.isEmpty() ? 0 : Integer.parseInt(arfcn);
        this.pci = pci.isEmpty() ? 0 : Integer.parseInt(pci);
    }

    public ArfcnPciBean(int arfcn, int pci, int rsrp) {
        this.arfcn = arfcn;
        this.pci = pci;
        this.rsrp = rsrp;
    }

    @Override
    public String toString() {
        return arfcn + "/" + pci;
    }
}
